package com.gitee.swsk33.catserviceprovider.service;

import com.gitee.swsk33.catentity.dataobject.Cat;
import com.gitee.swsk33.catentity.model.Result;
import org.springframework.stereotype.Service;

@Service
public interface CatService {

	Result<Void> add(Cat cat);

	Result<Void> delete(int id);

	Result<Void> update(Cat cat) throws Exception;

	Result<Cat> getById(int id);

}